package PackageScore;

public class Student {
    private String name;
    private String id;
    private double intgretResult;
    private double sports;

    public Student() {
    }

    public Student(String name, String id, double intgretResult, double sports) {
        this.name = name;
        this.id = id;
        this.intgretResult = intgretResult;
        this.sports = sports;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return intgretResult
     */
    public double getIntgretResult() {
        return intgretResult;
    }

    /**
     * 设置
     * @param intgretResult
     */
    public void setIntgretResult(double intgretResult) {
        this.intgretResult = intgretResult;
    }

    /**
     * 获取
     * @return sports
     */
    public double getSports() {
        return sports;
    }

    /**
     * 设置
     * @param sports
     */
    public void setSports(double sports) {
        this.sports = sports;
    }

    public String toString() {
        return "Student{name = " + name + ", id = " + id + ", intgretResult = " + intgretResult + ", sports = " + sports + "}";
    }
}
